home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / Eudora 1.3.1 / source / Include / mytcp.h < prev    next >
Encoding:
Text File  |  1993-03-16  |  823 b   |  16 lines  |  [TEXT/MPS ]

  1. /* Copyright (c) 1990-1992 by the University of Illinois Board of Trustees */
  2. /************************************************************************
  3.  * declarations for routines to make MacTCP more palatable
  4.  ************************************************************************/
  5. int MyTcpCreate(long *stream,UPtr buffer,int bSize,TCPNotifyProc asr);
  6. int MyTcpOpen(long stream,long addr,short port,Byte toAction,Byte timeout);
  7. int MyTcpSend(long stream,short count,UPtr buffer,int bSize, va_list extra);
  8. short MyTcpRefN(short refN);
  9. int MyTcpRecv(long stream,UPtr buffer,int *bSize,Byte timeout);
  10. int MyTcpClose(long stream);
  11. int MyTcpRelease(long stream);
  12. int MyHostid(ip_addr *addr, long *mask);
  13. int MyTcpSendWDS(long stream,wdsEntry *theWDS);
  14. int MyTcpStatus(long stream,TCPiopb *pb);
  15. int MyTcpAbort(long stream);
  16.